home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm)))) AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- ALgetframetime - (obsolete) Get the time at which a sample frame came in
- or will go out
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiioooo....hhhh>>>>
-
- iiiinnnntttt AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((ccccoooonnnnsssstttt AAAALLLLppppoooorrrrtttt ppppoooorrrrtttt,,,, uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg lllloooonnnngggg ****ffffnnnnuuuummmm,,,, uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg lllloooonnnngggg ****ttttiiiimmmmeeee))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _p_o_r_t expects the AAAALLLLppppoooorrrrtttt structure for the audio port for which you wish
- to know the sample frame number. This structure is the returned
- value of the AAAALLLLooooppppeeeennnnppppoooorrrrtttt((((3333ddddmmmm)))) call.
-
- _f_n_u_m expects a pointer to an unsigned 64-bit value which is to contain
- the resultant sample-frame number.
-
- _t_i_m_e expects a pointer to an unsigned 64-bit value which is to contain
- the resultant sample-frame time, in nanoseconds.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee is obsolete and is provided for backward compatibility.
- The preferred function is _a_l_G_e_t_F_r_a_m_e_T_i_m_e(_3_d_m).
-
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee returns an atomic pair of (fnum, time). For an input port,
- the time returned is the time at which the returned sample frame arrived
- at the electrical input on the machine. For an output port, the time
- returned is the time at which the returned sample frame will arrive at
- the electrical output on the machine. AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee therefore accounts
- for all the latency within the machine, including the group delay of the
- A/D and D/A converters.
-
- The returned sample frame number is not guaranteed to be in any
- application's port. For example, an input sample frame as returned by
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee may be "in the future": it has not yet arrived in any
- application's port. Similarly, an output sample frame may be "in the
- past": it has already gone out of some application's port. In order to
- relate the sample frame numbers to those of a particular application's
- audio port, the AAAALLLLggggeeeettttffffrrrraaaammmmeeeennnnuuuummmmbbbbeeeerrrr call must be used.
-
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee uses the Unadjusted System Time (UUUUSSSSTTTT) as its timeline.
- This allows it to relate to other media which also use UUUUSSSSTTTT. See the man
- page for ddddmmmmGGGGeeeettttUUUUSSSSTTTT((((3333ddddmmmm)))) for more information on UST.
-
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee can fail for the following reasons:
-
- AAAALLLL____BBBBAAAADDDD____PPPPOOOORRRRTTTT
- _p_o_r_t is invalid.
-
- AAAALLLL____BBBBAAAADDDD____NNNNOOOOTTTT____IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTEEEEDDDD
- the feature is not implemented on the given machine. AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee
- is not implemented on Indigo (IP12), 4D/35 (IP12), and Indigo R4K
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm)))) AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm))))
-
-
-
- (IP20) systems.
-
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm)))) returns 0. Otherwise
- AAAALLLLggggeeeettttffffrrrraaaammmmeeeettttiiiimmmmeeee((((3333ddddmmmm)))) returns -1 and sets an error number which can be
- retrieved with oooosssseeeerrrrrrrroooorrrr((((3333CCCC)))).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- dmGetUST(3dm), ALgetframenumber(3A), oserror(3C)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-